package com.csl.jmu.demo.service.impl;

import com.csl.jmu.demo.dao.UserInfoDao;
import com.csl.jmu.demo.entity.UserInfo;
import com.csl.jmu.demo.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <pre>
 * 描述：用户信息查询
 * </pre>
 *
 * @类名：com.csl.jmu.demo.service.impl.UserInfoServiceImpl
 * @作者： 1410HL0236
 * @创建日期: 2019/11/18 15:30
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

  @Resource
  UserInfoDao userInfoDao;

  @Override
  public UserInfo findByUsername(String username) {
    return userInfoDao.findByUsername(username);
  }
}
